package com.Framework.Entity;

import java.util.ArrayList;
import java.util.List;

public class MailEntity {
	
	public static class Server {
		private String smtp;
		private String port = "";// 使用SSL时对应的端口
		private String needAuth;
		private String username = "";// 用户名
		private String password = ""; // qq授权码 zbbkgaglummibiga
		private boolean hasSSL;

		public String getSmtp() {
			return smtp;
		}

		public void setSmtp(String smtp) {
			this.smtp = smtp;
		}

		public String getPort() {
			return port;
		}

		public void setPort(String port) {
			this.port = port;
		}

		

		public String getNeedAuth() {
			return needAuth;
		}

		public void setNeedAuth(String needAuth) {
			this.needAuth = needAuth;
		}

		public String getUsername() {
			return username;
		}

		public void setUsername(String username) {
			this.username = username;
		}

		public String getPassword() {
			return password;
		}

		public void setPassword(String password) {
			this.password = password;
		}

		public boolean isHasSSL() {
			return hasSSL;
		}

		public void setHasSSL(boolean hasSSL) {
			this.hasSSL = hasSSL;
		}
	}
	
	public static class Mails {
		
		private  String from = "";// 发送方名称
		private  List to = new ArrayList(); // 发送邮件
		private  String copyto = "";// 抄送
		private  String subject = "";// 标题
		private  String text = "";// 内容
		private  ArrayList fuJianPath;// 附件
		private  ArrayList fuJianName;// 附件
		
		public String getFrom() {
			return from;
		}
		public void setFrom(String from) {
			this.from = from;
		}
		public List getTo() {
			return to;
		}
		public void setTo(List to) {
			this.to = to;
		}
		public String getCopyto() {
			return copyto;
		}
		public void setCopyto(String copyto) {
			this.copyto = copyto;
		}
		public String getSubject() {
			return subject;
		}
		public void setSubject(String subject) {
			this.subject = subject;
		}
		public String getText() {
			return text;
		}
		public void setText(String text) {
			this.text = text;
		}
		public ArrayList getFuJianPath() {
			return fuJianPath;
		}
		public void setFuJianPath(ArrayList fuJianPath) {
			this.fuJianPath = fuJianPath;
		}
		public ArrayList getFuJianName() {
			return fuJianName;
		}
		public void setFuJianName(ArrayList fuJianName) {
			this.fuJianName = fuJianName;
		}
		
	}
}
